package com.dxj1992.mapper;

import com.dxj1992.entity.AdminPermissions;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dxj1992.entity.AdminUsers;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2022-03-31
 */
public interface AdminPermissionsMapper extends BaseMapper<AdminPermissions> {

    List<AdminPermissions> selectListByUserId(AdminUsers user);

    List<AdminPermissions> selectMenuByUser(AdminUsers user);
}
